<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>Introduction_to_Algorithms: src/graph_algorithms/all_node_pair_shortest_path/matrix_shortest_path/matrix_shortest_path.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Introduction_to_Algorithms
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('matrix__shortest__path_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">matrix_shortest_path.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;memory&gt;</code><br />
<code>#include &lt;array&gt;</code><br />
<code>#include &quot;<a class="el" href="header_8h_source.html">src/header.h</a>&quot;</code><br />
</div>
<p><a href="matrix__shortest__path_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_introduction_to_algorithm"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_introduction_to_algorithm.html">IntroductionToAlgorithm</a></td></tr>
<tr class="memdesc:namespace_introduction_to_algorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Namespace of IntrodunctionToAlgorithm. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespace_introduction_to_algorithm_1_1_graph_algorithm"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html">IntroductionToAlgorithm::GraphAlgorithm</a></td></tr>
<tr class="memdesc:namespace_introduction_to_algorithm_1_1_graph_algorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Namespace of <a class="el" href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html" title="Namespace of GraphAlgorithm. ">GraphAlgorithm</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a680307505286ae3230d1843c342e874e"><td class="memTemplParams" colspan="2">template&lt;typename MatrixType &gt; </td></tr>
<tr class="memitem:a680307505286ae3230d1843c342e874e"><td class="memTemplItemLeft" align="right" valign="top">MatrixType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html#a680307505286ae3230d1843c342e874e">IntroductionToAlgorithm::GraphAlgorithm::extend_path</a> (const MatrixType &amp;L, const MatrixType &amp;W)</td></tr>
<tr class="memdesc:a680307505286ae3230d1843c342e874e"><td class="mdescLeft">&#160;</td><td class="mdescRight">extend_path：扩展一条边，算法导论25章25.1节  <a href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html#a680307505286ae3230d1843c342e874e">More...</a><br /></td></tr>
<tr class="separator:a680307505286ae3230d1843c342e874e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9dcca59a42c708c137571d194c45bd9"><td class="memTemplParams" colspan="2">template&lt;typename GraphType &gt; </td></tr>
<tr class="memitem:ab9dcca59a42c708c137571d194c45bd9"><td class="memTemplItemLeft" align="right" valign="top">std::array&lt; std::array&lt; typename GraphType::EWeightType,GraphType::NUM &gt;, GraphType::NUM &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html#ab9dcca59a42c708c137571d194c45bd9">IntroductionToAlgorithm::GraphAlgorithm::matrix_shortest_path</a> (std::shared_ptr&lt; GraphType &gt; graph)</td></tr>
<tr class="memdesc:ab9dcca59a42c708c137571d194c45bd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">matrix_shortest_path：返回所有节点对的最短路径的矩阵乘法算法。算法导论25章25.1节  <a href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html#ab9dcca59a42c708c137571d194c45bd9">More...</a><br /></td></tr>
<tr class="separator:ab9dcca59a42c708c137571d194c45bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eb979447eeb937df4158f9646e20dde"><td class="memTemplParams" colspan="2">template&lt;typename GraphType &gt; </td></tr>
<tr class="memitem:a6eb979447eeb937df4158f9646e20dde"><td class="memTemplItemLeft" align="right" valign="top">std::array&lt; std::array&lt; typename GraphType::EWeightType,GraphType::NUM &gt;, GraphType::NUM &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html#a6eb979447eeb937df4158f9646e20dde">IntroductionToAlgorithm::GraphAlgorithm::matrix_shortest_path_fast</a> (std::shared_ptr&lt; GraphType &gt; graph)</td></tr>
<tr class="memdesc:a6eb979447eeb937df4158f9646e20dde"><td class="mdescLeft">&#160;</td><td class="mdescRight">matrix_shortest_path：返回所有节点对的最短路径的矩阵乘法复平方算法。算法导论25章25.1节  <a href="namespace_introduction_to_algorithm_1_1_graph_algorithm.html#a6eb979447eeb937df4158f9646e20dde">More...</a><br /></td></tr>
<tr class="separator:a6eb979447eeb937df4158f9646e20dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_8ed9dba4cd616b67da9b1338594e34e0.html">src</a></li><li class="navelem"><a class="el" href="dir_aa0a5ddea82682e3e6fbdbaa3337ee0e.html">graph_algorithms</a></li><li class="navelem"><a class="el" href="dir_b51e3f255e4118bf84bdb65a10010051.html">all_node_pair_shortest_path</a></li><li class="navelem"><a class="el" href="dir_6c0a9921e922f247e1cee75e9c267d61.html">matrix_shortest_path</a></li><li class="navelem"><a class="el" href="matrix__shortest__path_8h.html">matrix_shortest_path.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.10 </li>
  </ul>
</div>
</body>
</html>
